package com.aspose.cells;

import java.util.Iterator;

class zbrm extends zbz {
   zbrm() {
      this.c(182);
   }

   void a(PivotFieldCollection var1) {
      this.a((short)(6 * var1.getCount()));
      this.c = new byte[this.d()];
      int var2 = 0;
      int var3 = var1.d;

      for(Iterator var4 = var1.a.iterator(); var4.hasNext(); var2 += 6) {
         PivotField var5 = (PivotField)var4.next();
         System.arraycopy(com.aspose.cells.b.a.zc.a((short)var5.getBaseIndex()), 0, this.c, var2, 2);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var5.j.b), 0, this.c, var2 + 2, 2);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var3++), 0, this.c, var2 + 4, 2);
      }

   }
}
